package com.qianya.model.pojo.patient.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qianya.model.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 患者绑定发药柜
 * </p>
 *
 * @author lhl
 * @since 2020-07-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PatientBoxRelevanceVO对象", description="患者绑定发药柜")
public class PatientBoxRelevanceVO implements Serializable {


    private static final long serialVersionUID = 4891987643530998476L;
    @ApiModelProperty(value = "关联id")
    @TableId(value = "br_id", type = IdType.UUID)
    private String brId;

    @ApiModelProperty(value = "盒子编号")
    private String boxCard;

    @ApiModelProperty(value = "身份证号")
    private String fileIdentityCard;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "盒子状态（0,关门 1,开门）")
    private Integer brState;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发药时间")
    private Date updateTime;
    @ApiModelProperty(value = "发药人")
    private String updateId;



}
